#ifndef _RSS_UI_SHOWITEMS_H_
#define _RSS_UI_SHOWITEMS_H_
#include "Rss_UI_Base.h"
#include "Rss_UI_MyList.h"
#include "../resource.h"

class Rss_UI_ShowItems : public Rss_UI_Base
{
private:
	UiToolBarPro m_Toolbar;
	MyList m_List;
	ImageContainer m_imgContainer;
	list<int> feedIdArr;
	int currentPage;
	bool isFirstPage;
	bool isLastPage;
	bool topArt;

public:
	Rss_UI_ShowItems() { currentPage = -1; topArt = false; isFirstPage = false; isLastPage = false; }
	virtual void Hide();
	virtual void Show();

	virtual LRESULT MzDefWndProc(UINT message, WPARAM wParam, LPARAM lParam);
	virtual void OnMzCommand(WPARAM wParam, LPARAM lParam);

	void addItems();

	void Update();

};
#endif
